<?php /* Smarty version Smarty-3.1.18, created on 2014-12-12 06:54:55
         compiled from "application\views\leftsidebar_ajax.php" */ ?>
<?php /*%%SmartyHeaderCode:110315405290b650c06-08227303%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ee67893cdbdc6e87cb3f3447167a6b5273a8568d' => 
    array (
      0 => 'application\\views\\leftsidebar_ajax.php',
      1 => 1412756884,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '110315405290b650c06-08227303',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_5405290b754756_81109208',
  'variables' => 
  array (
    'i' => 0,
    'site_url' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5405290b754756_81109208')) {function content_5405290b754756_81109208($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'D:\\Expression\\1133232\\w1\\application\\libraries\\Smarty-3.1.18\\libs\\plugins\\modifier.date_format.php';
?>

<div class="search">
      <form action="/partsearch" method="post">
        <div class="form">
          <p>Shop by Vehicle</p>
          <select name="year" id="sel-year"  tabindex="1" onchange="get_make(this.value)">
            <option value="">Choose Year</option>
            <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['i']->step = 1;$_smarty_tpl->tpl_vars['i']->total = (int) ceil(($_smarty_tpl->tpl_vars['i']->step > 0 ? smarty_modifier_date_format(time(),"%Y")+1 - (1950) : 1950-(smarty_modifier_date_format(time(),"%Y"))+1)/abs($_smarty_tpl->tpl_vars['i']->step));
if ($_smarty_tpl->tpl_vars['i']->total > 0) {
for ($_smarty_tpl->tpl_vars['i']->value = 1950, $_smarty_tpl->tpl_vars['i']->iteration = 1;$_smarty_tpl->tpl_vars['i']->iteration <= $_smarty_tpl->tpl_vars['i']->total;$_smarty_tpl->tpl_vars['i']->value += $_smarty_tpl->tpl_vars['i']->step, $_smarty_tpl->tpl_vars['i']->iteration++) {
$_smarty_tpl->tpl_vars['i']->first = $_smarty_tpl->tpl_vars['i']->iteration == 1;$_smarty_tpl->tpl_vars['i']->last = $_smarty_tpl->tpl_vars['i']->iteration == $_smarty_tpl->tpl_vars['i']->total;?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</option>
            <?php }} ?>
          </select>
          <div id="sel-make">
          <select name="sel-make" id=""  tabindex="1" disabled="disabled">
            <option value="">Choose Make</option>
          </select>
          </div>
          <div id="sel-model">
          <select name="sel-model" id=""  tabindex="1" disabled="disabled">
            <option value="">Choose Model</option>
          </select>
          </div>
          <input type="submit" value="" class="searchBtn" />
          <p><a href="">Advanced Part Search</a></p>
        </div>
        </form>
        <p>&nbsp;</p>       
        <p>Shop by Part number</p>
        <form action="/partsearch" method="post">
        <input type="text" name="partnumber" value="" class="searchInput" />
        <input type="submit"  value="" class="searchGo" />
        </form>
        <p>&nbsp;</p>
      
    </div>
    
    <script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['site_url']->value;?>
js/myajax.js"></script><?php }} ?>
